package cn.cena.basic.service;

import cn.cena.basic.mapper.BaseMapper;
import cn.cena.basic.query.BaseQuery;
import cn.cena.basic.util.PageList;
import java.util.List;

public interface IBaseService<T> {
    T loadOne(Long id);

    List<T> loadAll();

    void add(T t);

    void update(T t);

    void remove(Long id);

    PageList<T> queryData(BaseQuery query);

    void patchRemove(Long[] ids);

}
